package com.cc.service.impl;

import com.cc.entity.ProductTypes;
import com.cc.mapper.ProductTypesMapper;
import com.cc.service.ProductTypesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 33314
 * @version 1.0
 * @description: TODO
 * @date 2025/6/24 18:51
 */
@Service
public class ProductTypesServiceImpl implements ProductTypesService {
    @Autowired
    private ProductTypesMapper productTypesMapper;

    @Override
    public List<ProductTypes> getAllProductTypes() {
        return productTypesMapper.getAllProductTypes();
    }
}
